// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** index GET /api/wx/index */
export async function indexUsingGet(options?: { [key: string]: any }) {
  return request<string>('/api/wx/index', {
    method: 'GET',
    ...(options || {}),
  });
}

/** index PUT /api/wx/index */
export async function indexUsingPut(options?: { [key: string]: any }) {
  return request<string>('/api/wx/index', {
    method: 'PUT',
    ...(options || {}),
  });
}

/** index POST /api/wx/index */
export async function indexUsingPost(options?: { [key: string]: any }) {
  return request<string>('/api/wx/index', {
    method: 'POST',
    ...(options || {}),
  });
}

/** index DELETE /api/wx/index */
export async function indexUsingDelete(options?: { [key: string]: any }) {
  return request<string>('/api/wx/index', {
    method: 'DELETE',
    ...(options || {}),
  });
}

/** index PATCH /api/wx/index */
export async function indexUsingPatch(options?: { [key: string]: any }) {
  return request<string>('/api/wx/index', {
    method: 'PATCH',
    ...(options || {}),
  });
}
